Release 10.1A: OpenEdge Development:
Progress 4GL Reference
INPUT CLEAR statement
Clears any keystrokes buffered from the keyboard, discarding any type-ahead characters. The INPUT CLEAR statement is useful when you want to make sure Progress clears out extra characters in the input statement that could follow a field entry that is too long.
Note: Does not apply to SpeedScript programming.Syntax
Example
This menu procedure tests each key the user presses. If the user presses a key other than 1, 2, or 3, Progress clears the keyboard buffer and displays a message.
Notes
- In Windows, the keyboard type-ahead buffer can contain a maximum of 16 characters.
- If the current input source is not the keyboard, the INPUT CLEAR statement has no effect.
- INPUT CLEAR is not available on the Windows GUI platform after Progress Version 7.3D. It is available in Windows character and non-Windows GUI or character platforms.
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |